home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2002 #11
/
Amiga Plus CD - 2002 - No. 11.iso
/
amigaoscd
/
amigapluscd
/
AP-Website
/
interaktiv
/
umfragen
/
formmail.php4
< prev
next >
Wrap
Text File
|
2002-06-16
|
449b
|
11 lines
<?php
$sender = $HTTP_POST_VARS["email"];
$fmtResponse= implode("", file("response.htt"));
$fmtMail= implode("", file("mail.htt"));
foreach($HTTP_POST_VARS as $key=> $val) {
$fmtResponse= str_replace("<$key>", $val, $fmtResponse);
$fmtMail= str_replace("<$key>", $val, $fmtMail);
}
mail($HTTP_POST_VARS["recipient"], $HTTP_POST_VARS["subject"], $fmtMail, "From: $sender\nX-Mailer: DSL-Umfrage");
echo $fmtResponse;
?>